package com.ruoyi.project.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;
import java.util.Date;

/**
 * 评论表 t_comment
 * 
 * @author ruoyi
 * @date 2018-11-01
 */
public class Comment extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	private Long commentId;
	/** 学员id */
	private Long userId;
	/** 学员姓名 */
	private String userName;
	/** 老师id */
	private Long teacherId;
	/** 老师姓名 */
	private String teacherName;
	/** 评论 */
	private String content;
	/** 评论时间 */
	private Date createTime;
	/** 备注 */
	private String remake;

	public void setCommentId(Long commentId) 
	{
		this.commentId = commentId;
	}

	public Long getCommentId() 
	{
		return commentId;
	}
	public void setUserId(Long userId) 
	{
		this.userId = userId;
	}

	public Long getUserId() 
	{
		return userId;
	}
	public void setUserName(String userName) 
	{
		this.userName = userName;
	}

	public String getUserName() 
	{
		return userName;
	}
	public void setTeacherId(Long teacherId) 
	{
		this.teacherId = teacherId;
	}

	public Long getTeacherId() 
	{
		return teacherId;
	}
	public void setTeacherName(String teacherName) 
	{
		this.teacherName = teacherName;
	}

	public String getTeacherName() 
	{
		return teacherName;
	}
	public void setContent(String content) 
	{
		this.content = content;
	}

	public String getContent() 
	{
		return content;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setRemake(String remake) 
	{
		this.remake = remake;
	}

	public String getRemake() 
	{
		return remake;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("commentId", getCommentId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("content", getContent())
            .append("createTime", getCreateTime())
            .append("remake", getRemake())
            .toString();
    }
}
